package com.wlc.oop.demo10;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description 英雄
 * @date 2021-07-05 06:50
 */
public class Hero {

    String name;

    public Hero() {
        System.out.println("这是超级英雄");
    }
    public Hero(String name){
        System.out.println("这是超级英雄 "+ name);
    }

    public static void main(String[] args) {
        new Hero();
    }
}
